{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\n// ============================== Shared ==============================\nvar genSharedEmptyStyle = function genSharedEmptyStyle(token) {\n  var _componentCls;\n  var componentCls = token.componentCls,\n    margin = token.margin,\n    marginXS = token.marginXS,\n    marginXL = token.marginXL,\n    fontSize = token.fontSize,\n    lineHeight = token.lineHeight;\n  return _defineProperty({}, componentCls, (_componentCls = {\n    marginInline: marginXS,\n    fontSize: fontSize,\n    lineHeight: lineHeight,\n    textAlign: 'center'\n  }, _defineProperty(_componentCls, \"\".concat(componentCls, \"-image\"), {\n    height: token.emptyImgHeight,\n    marginBottom: marginXS,\n    opacity: token.opacityImage,\n    img: {\n      height: '100%'\n    },\n    svg: {\n      height: '100%',\n      margin: 'auto'\n    }\n  }), _defineProperty(_componentCls, \"\".concat(componentCls, \"-footer\"), {\n    marginTop: margin\n  }), _defineProperty(_componentCls, '&-normal', _defineProperty({\n    marginBlock: marginXL,\n    color: token.colorTextDisabled\n  }, \"\".concat(componentCls, \"-image\"), {\n    height: token.emptyImgHeightMD\n  })), _defineProperty(_componentCls, '&-small', _defineProperty({\n    marginBlock: marginXS,\n    color: token.colorTextDisabled\n  }, \"\".concat(componentCls, \"-image\"), {\n    height: token.emptyImgHeightSM\n  })), _componentCls));\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Empty', function (token) {\n  var componentCls = token.componentCls,\n    controlHeightLG = token.controlHeightLG;\n  var emptyToken = mergeToken(token, {\n    emptyImgCls: \"\".concat(componentCls, \"-img\"),\n    emptyImgHeight: controlHeightLG * 2.5,\n    emptyImgHeightMD: controlHeightLG,\n    emptyImgHeightSM: controlHeightLG * 0.875\n  });\n  return [genSharedEmptyStyle(emptyToken)];\n});","map":{"version":3,"names":["genComponentStyleHook","mergeToken","genSharedEmptyStyle","token","componentCls","margin","marginXS","marginXL","fontSize","lineHeight","marginInline","textAlign","height","emptyImgHeight","marginBottom","opacity","opacityImage","img","svg","marginTop","marginBlock","color","colorTextDisabled","emptyImgHeightMD","emptyImgHeightSM","controlHeightLG","emptyToken","emptyImgCls"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/empty/style/index.js"],"sourcesContent":["import { genComponentStyleHook, mergeToken } from '../../theme/internal';\n// ============================== Shared ==============================\nconst genSharedEmptyStyle = token => {\n  const {\n    componentCls,\n    margin,\n    marginXS,\n    marginXL,\n    fontSize,\n    lineHeight\n  } = token;\n  return {\n    [componentCls]: {\n      marginInline: marginXS,\n      fontSize,\n      lineHeight,\n      textAlign: 'center',\n      // 原来 &-image 没有父子结构，现在为了外层承担我们的hashId，改成父子结果\n      [`${componentCls}-image`]: {\n        height: token.emptyImgHeight,\n        marginBottom: marginXS,\n        opacity: token.opacityImage,\n        img: {\n          height: '100%'\n        },\n        svg: {\n          height: '100%',\n          margin: 'auto'\n        }\n      },\n      // 原来 &-footer 没有父子结构，现在为了外层承担我们的hashId，改成父子结果\n      [`${componentCls}-footer`]: {\n        marginTop: margin\n      },\n      '&-normal': {\n        marginBlock: marginXL,\n        color: token.colorTextDisabled,\n        [`${componentCls}-image`]: {\n          height: token.emptyImgHeightMD\n        }\n      },\n      '&-small': {\n        marginBlock: marginXS,\n        color: token.colorTextDisabled,\n        [`${componentCls}-image`]: {\n          height: token.emptyImgHeightSM\n        }\n      }\n    }\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Empty', token => {\n  const {\n    componentCls,\n    controlHeightLG\n  } = token;\n  const emptyToken = mergeToken(token, {\n    emptyImgCls: `${componentCls}-img`,\n    emptyImgHeight: controlHeightLG * 2.5,\n    emptyImgHeightMD: controlHeightLG,\n    emptyImgHeightSM: controlHeightLG * 0.875\n  });\n  return [genSharedEmptyStyle(emptyToken)];\n});"],"mappings":";AAAA,SAASA,qBAAqB,EAAEC,UAAU,QAAQ,sBAAsB;AACxE;AACA,IAAM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